package com.scpii.universal.pns.entity;

import java.util.Date;

/**
 * PnsUserMessage entity. @author MyEclipse Persistence Tools
 */

public class PnsUserMessage implements java.io.Serializable {

	// Fields

	private Integer userMessageId;
	private Integer appSerial;
	private Integer userId;
	private Integer messageId;
	private Integer deviceType;
	private String appId;
	private Integer buildPlatform;
	private String title;
	private String icon;
	private String summary;
	private String body;
	private Date startDate;
	private Date expireDate;
	private Date createDate;
	private Date handleTime;
	private Integer messageStatus;

	// Constructors

	/** default constructor */
	public PnsUserMessage() {
	}

	/** minimal constructor */
	public PnsUserMessage(Integer appSerial, Integer userId, Integer messageId, Integer deviceType,
			String appId) {
		this.appSerial = appSerial;
		this.userId = userId;
		this.messageId = messageId;
		this.deviceType = deviceType;
		this.appId = appId;
	}

	/** full constructor */
	public PnsUserMessage(Integer appSerial, Integer userId, Integer messageId, Integer deviceType,
			String appId, Integer buildPlatform, String title, String icon, String summary, String body,
			Date startDate, Date expireDate, Date createDate, Date handleTime, Integer messageStatus) {
		this.appSerial = appSerial;
		this.userId = userId;
		this.messageId = messageId;
		this.deviceType = deviceType;
		this.appId = appId;
		this.buildPlatform = buildPlatform;
		this.title = title;
		this.icon = icon;
		this.summary = summary;
		this.body = body;
		this.startDate = startDate;
		this.expireDate = expireDate;
		this.createDate = createDate;
		this.handleTime = handleTime;
		this.messageStatus = messageStatus;
	}

	// Property accessors

	public Integer getUserMessageId() {
		return this.userMessageId;
	}

	public void setUserMessageId(Integer userMessageId) {
		this.userMessageId = userMessageId;
	}

	public Integer getDeviceType() {
		return this.deviceType;
	}

	public void setDeviceType(Integer deviceType) {
		this.deviceType = deviceType;
	}

	public String getAppId() {
		return this.appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public Integer getBuildPlatform() {
		return this.buildPlatform;
	}

	public void setBuildPlatform(Integer buildPlatform) {
		this.buildPlatform = buildPlatform;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getIcon() {
		return this.icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getSummary() {
		return this.summary;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public String getBody() {
		return this.body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public Date getStartDate() {
		return this.startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Date getExpireDate() {
		return this.expireDate;
	}

	public void setExpireDate(Date expireDate) {
		this.expireDate = expireDate;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getHandleTime() {
		return this.handleTime;
	}

	public void setHandleTime(Date handleTime) {
		this.handleTime = handleTime;
	}

	public Integer getMessageStatus() {
		return this.messageStatus;
	}

	public void setMessageStatus(Integer messageStatus) {
		this.messageStatus = messageStatus;
	}

	public Integer getAppSerial() {
		return appSerial;
	}

	public void setAppSerial(Integer appSerial) {
		this.appSerial = appSerial;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getMessageId() {
		return messageId;
	}

	public void setMessageId(Integer messageId) {
		this.messageId = messageId;
	}

}